package com.bit.java;

public class Test5 {

    public static int max(int x, int y) {
        return x > y ? x : y;
    }

    public static double max(double x, double y) {
        return x > y ? x : y;
    }

    public static void main(String[] args) {
        System.out.println(max(28, 99));
        System.out.println(max(2.89, 3.9));
    }

}
